﻿namespace XUCore.WeChat.App
{
    /// <summary>  
    /// 微信小程序用户信息
    /// </summary>  
    public class WeChatUserInfo
    {
        public string OpenId { get; set; }
        public string UnionId { get; set; }
        public string NickName { get; set; }
        public string Gender { get; set; }
        public string City { get; set; }
        public string Province { get; set; }
        public string Country { get; set; }
        public string AvatarUrl { get; set; }
        public string Language { get; set; }
        public Watermark Watermark { get; set; }
        public WeChatOpenIdAndSessionKey SessionInfo { get; set; }
    }
    /// <summary>
    /// 微信小程序用户手机信息
    /// </summary>
    public class WeChatMobileInfo
    {
        public string OpenId { get; set; }
        public string UnionId { get; set; }
        public string PhoneNumber { get; set; }
        public string PurePhoneNumber { get; set; }
        public string CountryCode { get; set; }
        public Watermark Watermark { get; set; }

        public WeChatOpenIdAndSessionKey SessionInfo { get; set; }
    }

    public class Watermark
    {
        public string Appid { get; set; }
        public string Timestamp { get; set; }
    }
}
